Skip to content

Conversation

@timacdonald
Copy link
Member

When using the exception handlers reportable method, a closure can return false to indicate that the exception has been handled and does not need to "bubble up" to other handlers.

We do this in Forge, for example, to only log errors to our error tracker or the application logs, but not both.

This introduces a manual mechanism to report exceptions to Pulse manually.

Pulse::report($exception);

I've used events here so that other recorders can also listen for the reporting of exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants